<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=7" />
	<title>“半价汇”广告管理系统</title>
	<!-- Reset Stylesheet -->
	<link rel="stylesheet" href="static/css/reset.css" type="text/css" media="screen" />
  
	<!-- Main Stylesheet -->
	<link rel="stylesheet" href="static/css/style.css" type="text/css" media="screen" />
	
	<!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
	<link rel="stylesheet" href="static/css/invalid.css" type="text/css" media="screen" />	
	<script type="text/javascript" src="static/js/jquery.min.js"></script>
	<!-- jQuery Configuration -->
	<script type="text/javascript" src="static/js/simpla.jquery.configuration.js"></script>
	<script type="text/javascript" src="static/js/date.js"></script>
	<script type="text/javascript" src="static/js/jquery.datePicker.js"></script>
</head>
<body>
	<div id="body-wrapper">
		<?php include 'admin_sidebar.html'; ?>
		<div id="main-content">
			<div class="content-box">
				<div class="content-box-header">
					<h3>广告历史点击列表</h3>
					<div class="clear"></div>
				</div> <!-- End .content-box-header -->
				<div class="content-box-content">
						<table>
							<thead>
							<tr>
								<th width="6%">时间</th>
								<th width="6%">星期</th>
								<th width="20%">当天用淘宝账户登陆的用户数</th>
								<th width="20%">点击数</th>
							</tr>
							</thead>
							<?php foreach($count_click_result as $k=>$v) { ?>
							<tr>
								<td align="center"><?php echo $v['date'];?></td>
								<td align="center"><?php echo date('D', strtotime($v['date']));?></td>
								<td align="center"><?php echo $today_visit_result[$v['date']]; ?></td>
								<td align="center"><?php echo $v['count_click_result'];?></td>
							</tr>
							<?php } ?>
						</table>
				</div>
			</div>
		</div>
	</div>
</body>
</html>